#ifndef _DMA_DEFS_H_
#define _DMA_DEFS_H_

#define DMA_SIZE 16384 
#define LS_SIZE 262144

typedef struct _dma_info{
	unsigned int chunk_size;	/* Size of the array */
	unsigned char pad[4];		/* 32 bit padding to mantain 64 bit alignment for address */
	unsigned long long address; /* Address of relevanta data to be retreived */
}dma_info;

#endif /* _DMA_DEFS_H_ */
#ifndef _CBE_DEFS_H_
#define _CBE_DEFS_H_

#include <libspe2.h>
#include "dma_defs.h"

typedef struct _spe_info{
	spe_context_ptr_t spe_ctx;
	spe_stop_info_t spe_stop_info;
	int spe_entry = SPE_DEFAULT_ENTRY;
	dma_info dma;
}spe_info;

#endif
#ifndef COMMONS_H
#define COMMONS_H

#define DEBUG 0
#define TIMING 1
#define EXPORT

#define SAMPLES 750000
#define MAX_LANDMARKS 750

#define MAX_SPU_THREADS 16

#endif
